package bin2text;

import cube.data.util.DataUtil;
import cube.utils.FileUtil;

public class Bin2TextUtil {

	public static void main(String[] args) {
		String fileName = args[0];
		byte[] data = FileUtil.read(fileName);
		String hexes = DataUtil.toHexString(data);
		FileUtil.write(fileName + "_hex.txt", hexes);
	}
}
